home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20020314-20021006 / 000122_fdc@columbia.edu_Wed Jun 5 10:43:14 EDT 2002.msg < prev    next >
Text File  |  2002-10-06  |  2KB  |  59 lines

  1. Article: 13419 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: File name character substitution
  6. Date: 5 Jun 2002 10:42:53 -0400
  7. Organization: Columbia University
  8. Lines: 42
  9. Message-ID: <adl81d$kgd$1@watsol.cc.columbia.edu>
  10. References: <4cf9413d.0206050455.1c062e36@posting.google.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1023288175 26631 128.59.39.139 (5 Jun 2002 14:42:55 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 5 Jun 2002 14:42:55 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13419
  16.  
  17. In article <4cf9413d.0206050455.1c062e36@posting.google.com>,
  18. Paul Chadwick <Paul.Chadwick@Albion-Auto.co.uk> wrote:
  19. > I'm new to Kermit, we have purchased and setup Kermit 95 on a Windows
  20. > 95 PC, it is running in server mode and working ok with the client.
  21. > The client is embedded in a production machine on our shop floor I
  22. > don't know what the OS is on this client but it allows "/" in the file
  23. > names. The implementation requires the client to send files to the
  24. > server but the server creates directories when it sees a "/", what I
  25. > would like to happen is for the "/" to be substituted for a "-" in the
  26. > file name on the server. Is this possible?
  27. >
  28. Yes.  And I doubt you'd find another package on the planet that could
  29. handle a situation like this :-)
  30.  
  31. > The only information on the screen of the client is:
  32. >   85000 Kermit 0.004  30-Jan-89
  33. Another "mystery Kermit"...
  34.  
  35. To solve the filename problem, see:
  36.  
  37.   http://www.columbia.edu/kermit/ckermit70.html#x4.1.1
  38.  
  39. The fly in the ointment is that you have K95 acting as server, so there
  40. is no opportunity to supply the "as-name".  For this you would have to
  41. restructure the K95 to do something like this:
  42.  
  43.   cd blah
  44.   while true {
  45.       receive /as-name:\freplace(\v(filename),/,-)
  46.   }
  47.  
  48. You might get some error messages if the machine sends a FINISH or BYE
  49. command, but you can either ignore them (and stay in the loop) or exit
  50. >From the loop if that is what happens with the server:
  51.  
  52.   cd blah
  53.   while success {
  54.       receive /as-name:\freplace(\v(filename),/,-)
  55.   }
  56.  
  57. - Frank
  58.